<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>{{$headConf['title']}}</title>
    <?php foreach($headConf['css'] as $v){ ?>
    <link rel="stylesheet" type="text/css" href="{{__TEMPLATE__}}/css/{{$v}}.css"/>
    <?php } ?>
    <script src="{{__TEMPLATE__}}/js/jquery-1.11.3.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="{{__TEMPLATE__}}/js/index.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<!--头部-->
<div id="head">
    <img src="{{__TEMPLATE__}}/images/logo.jpg" class="logo" />
    <ul class="ad">
        <li>顶尖PHP培训机构</li>
        <li style="color: #ee782f;">IT技能培训首选后盾网！</li>
    </ul>
    <div class="right">
        <span>全国抢座热线</span>
        <p>400-682-3231</p>
    </div>
</div>
<!--头部结束-->
<!--导航条-->
<div id="menu">
    <div class="center">
        <!--这里的通过判断是否是将颜色设定为选中的状态，是通过是否是有get参数来进行判断-->
        <a href="{{__ROOT__}}" <?php if(!Request::get()){ ?>class="cur"<?php } ?>>后盾首页</a>
        <category pid="0">
            <!--这里的进行选中的盘算是通过比较分配到的自己的ID和get传递的ID是否相同-->
            <a <?php if($field['cate_id']==Request::get('cate_id')){ ?>class="cur"<?php } ?> href="{{__ROOT__}}/c/{{$field['cate_id']}}.html">{{$field['cate_name']}}</a>
        </category>
    </div>
</div>
<!--导航条结束-->
<!--搜索区域-->
<div id="search">
    <span>热门关键词：</span>
    <tag action="search.keyword">
        <a href="{{$field['url']}}">{{$field['keyword']}}</a>
    </tag>
    <form action="/search" method="get">
        <input type="text" placeholder="请输入搜索关键词" name="keyword" class="keyword"/>
        <input type="submit" value="" class="sub" />
    </form>
</div>
<!--搜索区域结束-->
<blade name="content"/>
<!--底部-->
<div id="footer">
    <p>
        网站名称 : {{v('config.webname')}}
        备案号：<a href="">{{v('config.icp')}}</a>
        站长邮箱 : {{v('config.email')}}
        <script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1261722476'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s11.cnzz.com/z_stat.php%3Fid%3D1261722476%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>

    </p>
    <p></p>
</div>
<!--底部结束-->

</body>
</html>




